package com.app.model.supermarket;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OddJobReleaseModel {

    private int id;
    private String oddType;//零工类型
    private String oddName;//名称
    private int orderByType;//排序类型

    @TableField(exist = false)

    private String startTime;//开始时间
    private String endTime;//结束时间

    private int number;//人数
    private double oneWages;//单人工钱
    private String reaProvince;//省
    private String reaCity;//市
    private String reaArea;//区县
    private String transaddress;//详细地址
    private String workPresent;//工作介绍
    private Timestamp crtTime;//创建时间
    private Timestamp upTime;//修改时间
    private int state;//1招工中2待结算3已完工4取消

    @TableField(exist = false)
    private int CollectState;//收藏状态
    private int mid;//用户id

    private int surplusNumber;//剩余人数

    private int enrollment;//申请人数

    private String sort;

    private String stateName;//状态文字

    private MktPersonModel person;

    private List oddJobPiclist;

    private List<CommentModel> commentList;//评价星级

    private Double longitude;//经度
    private Double latitude;//纬度

    private String starPhone;

}
